package com.base.mvp.view

import android.os.Bundle
import com.base.mvp.R
import com.base.mvp.base.BaseMvpActivity
import com.base.mvp.bean.Car
import com.base.mvp.contract.MainContract
import com.base.mvp.presenter.MainPresenterImpl

class MainActivity : BaseMvpActivity<MainContract.View, MainContract.Model, MainContract.MainPresenter>(), MainContract.View {

    override val mView: MainContract.View
        get() = this

    override val mPresenter: MainContract.MainPresenter
        get() = MainPresenterImpl()

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

        Car()
    }

    override fun showToast() {

    }
}
